package com.bean;

import org.springframework.stereotype.Component;

@Component
public class Unit {
    private Integer id;

    private String unitenumber;

    private Integer roomcount;

    private Integer complexid;
    
    private Complex complex;
    
    

    public Complex getComplex() {
		return complex;
	}

	public void setComplex(Complex complex) {
		this.complex = complex;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUnitenumber() {
        return unitenumber;
    }

    public void setUnitenumber(String unitenumber) {
        this.unitenumber = unitenumber == null ? null : unitenumber.trim();
    }

    public Integer getRoomcount() {
        return roomcount;
    }

    public void setRoomcount(Integer roomcount) {
        this.roomcount = roomcount;
    }

    public Integer getComplexid() {
        return complexid;
    }

    public void setComplexid(Integer complexid) {
        this.complexid = complexid;
    }
}